import axios from '@/utils/request'

/**
 * 人员详情
 */
export function getOrgPerson(params) {
  return axios({
    url:"/v1/orgPerson/get",
    method:"get",
    params
  })
}

/**
 * 考勤信息
 */
export function getTimeCard(params) {
  return axios({
    url:"/v1/orgPerson/timeCard/query",
    method:"get",
    params
  })
}

/**
 * 考勤月份
 */
export function getTimeCardMonth(data) {
  return axios({
    url:"/v1/orgPerson/timeCard/month/query",
    method:"post",
    data
  })
}

/**
 * 进出场
 */
export function getInOut(data) {
  return axios({
    url:"/v1/orgPerson/selfStaffInOut/statistics",
    method:"post",
    data
  })
}
